><

Creating background matting in JPEG images



When creating a JPEG from an original image that contains layer transparency, you must matte the image against a matte color. Since the JPEG format does not support transparency, blending with a matte color is the only way to create the appearance of background transparency in a JPEG. Fully transparent pixels are filled with the matte color, and partially transparent pixels are blended with the matte color. When the JPEG is placed on a Web page with a background that matches the matte color, the image appears to blend with the Web page background.

To create a matted JPEG image:

1 Import a Smart Photoshop image that contains transparency or select a Smart Photoshop object already on a Web page and click Settings in the Smart Image Inspector.

2 In the Optimize panel in the Save For Web dialog box, select JPEG from the format menu.

3 Select a color from the Matte pop-up menu.

Select None, Eyedropper Color (to use the color in the eyedropper sample box), White, Black, or Other (using the color picker).


Images and Page Design > Making transparent and matted Photoshop images > Creating background matting in JPEG images